<template>
  <div class="common-layout">
    <el-container>
      <el-header>
        <GHeader></GHeader>
      </el-header>
      <el-container>
        <el-aside>
          <GMenu></GMenu>
        </el-aside>
        <el-main>
            <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>
<script setup>
import GHeader from "@/components/main/header.vue";
import GMenu from "@/components/main/menu.vue";
</script>

<style scoped>
.el-aside{
  background-color: rgb(236, 243, 237);
  /* color: #333; */
  text-align: center;
  line-height: 200px;
  width: 200px;
  height: 92vh;
}

.el-main {
  background-color: #e9eef3;
  color: #333;
  text-align: center;
  height: 92vh;
}


</style>